projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e6b4e8
)
grid layout: Fix initial property values
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Jun 2019 12:40:25 +0000
(12:40 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 28 Jun 2019 12:42:06 +0000
(12:42 +0000)
Too bad that we don't cover layout children
in the default value test - it would have
caught this.
gtk/gtkgridlayout.c
patch
|
blob
|
history
diff --git
a/gtk/gtkgridlayout.c
b/gtk/gtkgridlayout.c
index 8d54367a7d551f21f7bf0f3fe13d4aa33e98f73f..aac06e17092fb7bf856b8b47533a54ae90855315 100644
(file)
--- a/
gtk/gtkgridlayout.c
+++ b/
gtk/gtkgridlayout.c
@@
-212,6
+212,8
@@
gtk_grid_layout_child_class_init (GtkGridLayoutChildClass *klass)
static void
gtk_grid_layout_child_init (GtkGridLayoutChild *self)
{
+ CHILD_ROW_SPAN (self) = 1;
+ CHILD_COL_SPAN (self) = 1;
}
/**